package com.example.common.util.constant;

/**
 * @Author juzipi
 * @Date 2021/7/15 21:01
 * @Info
 */
public class UserConstants {


    public static final String AUTH_STATUS_STRING = "authStatusString";//用户认证状态字符串

    /**
     * 用户认证状态，0未认证，1认证中，2认证成功，-1认证失败
     */
    public static final Integer AUTH_STATUS_VALUE_DO = 0;//用户认证状态
    public static final Integer AUTH_STATUS_VALUE_NOT = 1;//用户认证状态
    public static final Integer AUTH_STATUS_VALUE_SUCCESS = 2;//用户认证状态
    public static final Integer AUTH_STATUS_VALUE_FAIL = -1;//用户认证状态

    public static final String STATUS_STRING = "statusString";//用户锁定状态字符串

    public static final String LOCKED_ZN = "锁定";//用户锁定状态中文

    public static final String NORMAL_ZN = "正常";//用户锁定状态中文

    public static final String USER_INFO = "userInfo";//用户信息

    public static final Integer STATUS_VALUE_NORMAL = 1;//用户状态值，1正常

    public static final Integer STATUS_VALUE_BAN = 0;//用户状态值，0禁用

    public static final String NAME = "name";//名字

    public static final String TOKEN = "token";//令牌

    /**
     * 微信登录相关
     */
    public static final String APPID = "appid";//微信appid，应用唯一标识

    public static final String SCOPE = "scope";//应用授权作用域

    public static final String REDIRECT_URI = "redirect_uri";//重定向uri

    public static final String STATE = "state";//用于保持请求和回调的状态

    public static final String SCOPE_VALUE = "snsapi_login";//应用授权作用域值，网页应用目前仅填写snsapi_login

    //为什么写法不统一呢？因为这是weixin api返回的
    public static final String ACCESS_TOKEN = "access_token";//微信返回accessToken

    public static final String OPENID = "openid";//微信openid

    public static final String NICKNAME = "nickname";//昵称

    public static final String HEAD_IMG_URL = "headimgurl";//头像路径

    public static final Integer DELETED_VALUE = 0;//逻辑删除值，0未删，1已删


    /**
     * 就诊人相关
     */
    public static final String CERTIFICATES_TYPE = "CertificatesType";//证件类型

    public static final String CERTIFICATES_TYPE_STRING = "certificatesTypeString";//证件类型String

    public static final String CONTACTS_CERTIFICATES_TYPE_STRING = "contactsCertificatesTypeString";//联系人证书类型字符串

    public static final String PROVINCE_STRING = "provinceString";//省String

    public static final String CITY_STRING = "cityString";//市String

    public static final String DISTRICT_STRING = "districtString";//区String

    public static final String FULL_ADDRESS = "fullAddress";//完整地址
}
